-- GENERATED SPELL FOR [Thistlefur Shaman] --


function spell0_3924(pUnit, Event) --@Bloodlust,n/a--
pUnit:FullCastSpellOnTarget(6742,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3924', 30260, 1)
end

function spell1_3924(pUnit, Event) --@Healing Wave,Heal--
pUnit:FullCastSpellOnTarget(11986,pUnit)
pUnit:RegisterEvent('Sorts_3924', 3000, 1)
end

function Sorts_3924(pUnit, Event)
local choix_sorts_3924 = math.random(0, 1)
if choix_sorts_3924 == 0 then
pUnit:RegisterEvent('spell0_3924', 1, 1)
end
if choix_sorts_3924 == 1 then
pUnit:RegisterEvent('spell1_3924', 1, 1)
end
end

function mob3924_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3924', math.random(1500, 3000), 1)
end

function mob3924_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3924_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3924_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3924, 1, 'mob3924_Action')
RegisterUnitEvent(3924, 2, 'mob3924_Leave')
RegisterUnitEvent(3924, 3, 'mob3924_Kill')
RegisterUnitEvent(3924, 4, 'mob3924_Die')
